<ResourceDictionary>
    
    <LinearGradientBrush EndPoint="0.5,1.0" StartPoint="0.5,0.0" x:Key="GlassHighlight" SpreadMethod="Pad">
      <LinearGradientBrush.GradientStops>
       <GradientStop Color="#00FFFFFF" Offset="0"/>
       <GradientStop Color="#88FFFFFF" Offset="0.1"/>
       <GradientStop Color="#002D4FD1" Offset="0.594"/> 
      </LinearGradientBrush.GradientStops>                 
    </LinearGradientBrush>

    <LinearGradientBrush EndPoint="0.5,1.0" StartPoint="0.5,0.0" x:Key="GlassLowlight">
      <LinearGradientBrush.GradientStops>
       <GradientStop Color="#00000000" Offset="0"/>
       <GradientStop Color="#88000000" Offset="0.7"/>
       <GradientStop Color="#33000000" Offset="1.0"/>
      </LinearGradientBrush.GradientStops>                 
    </LinearGradientBrush>
    
    <ControlTemplate x:Key="ButtonTemplate1" TargetType="{x:Type Button}">
        <Grid>            
            <Rectangle RadiusX="3.0" RadiusY="3.0" Stretch="Fill" x:Name="Rectangle1">
                <Rectangle.Style>
                  <Style TargetType="{x:Type Shape}">
                    <Setter Property="Fill" Value="#FFFF9C00" />
                  </Style>
                </Rectangle.Style>
            </Rectangle>
            
            <TextBlock HorizontalAlignment="Center" x:Name="TextBlock1" FontSize="{TemplateBinding FontSize}" 
                       FontFamily="{TemplateBinding FontFamily}" 
                       Text="{TemplateBinding Content}"
                       Foreground="{TemplateBinding Foreground}" Margin="4, 1, 4, 1">
                <TextBlock.Style>
                  <Style TargetType="{x:Type TextBlock}">
                    <Setter Property="Foreground" Value="Black" />
                  </Style>
                </TextBlock.Style>
            </TextBlock>
            <Rectangle RadiusX="3.0" RadiusY="3.0" x:Name="RectangleHighlight" Fill="{StaticResource GlassHighlight}" />            
            
            <Rectangle RadiusX="3.0" RadiusY="3.0" x:Name="RectangleLowLight" Fill="{StaticResource GlassLowlight}">
              <Rectangle.Style><Style TargetType="{x:Type Rectangle}"><Setter Property="Visibility" Value="Hidden" /></Style></Rectangle.Style>
            </Rectangle>
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger Property="IsMouseOver" Value="true">        
                <Trigger.EnterActions>
                  <SoundPlayerAction Source="Rollover" />
                </Trigger.EnterActions>
            </Trigger>
            <Trigger Property="IsPressed" Value="true">
                <Setter TargetName="RectangleHighlight" Property="Visibility" Value="Hidden" />
                <Setter TargetName="RectangleLowLight" Property="Visibility" Value="Visible" />
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>
        
    <Style x:Key="{x:Type Button}" TargetType="{x:Type Button}">
      <Setter Property="Foreground" Value="Black" />
      <Setter Property="Template" Value="{StaticResource ButtonTemplate1}" />         
      <Setter Property="FontSize" Value="22" />         
      <Setter Property="FontFamily" Value="Swiss" />         
      <Style.Triggers>
        <Trigger Property="IsMouseOver" Value="true">
            <Setter Property="Content" Value="Mouse is over" />
        </Trigger>
        <EventTrigger RoutedEvent="Click">
          <SoundPlayerAction Source="Click" />    
        </EventTrigger>
      </Style.Triggers>
    </Style>
    
    <Style x:Key="{x:Type ToggleButton}" TargetType="{x:Type ToggleButton}">
      <Setter Property="Foreground" Value="Black" />
      <Setter Property="Template" Value="{StaticResource ButtonTemplate1}" />
      <Setter Property="FontSize" Value="22" />         
      <Setter Property="FontFamily" Value="Swiss" />         
      <Style.Triggers>
        <Trigger Property="IsChecked" Value="true">
            <Setter Property="Foreground" Value="White" />
        </Trigger>
        <EventTrigger RoutedEvent="Click">
          <SoundPlayerAction Source="Click" />    
        </EventTrigger>
      </Style.Triggers>
    </Style>
    
    <Style x:Key="{x:Type RadioButton}" TargetType="{x:Type RadioButton}">
      <Setter Property="Foreground" Value="Black" />
      <Setter Property="Template" Value="{StaticResource ButtonTemplate1}" />
      <Setter Property="FontSize" Value="22" />         
      <Setter Property="FontFamily" Value="Swiss" />         
      <Style.Triggers>
        <Trigger Property="IsChecked" Value="true">
            <Setter Property="Foreground" Value="White" />
        </Trigger>
        <EventTrigger RoutedEvent="Click">
          <SoundPlayerAction Source="Click" />    
        </EventTrigger>
      </Style.Triggers>
    </Style>
    
    
    <Style x:Key="{x:Type TextBlock}" TargetType="{x:Type TextBlock}">
      <Setter Property="FontFamily" Value="Swiss" />
      <Setter Property="Foreground" Value="#FFFFFFFF" />         
      <Setter Property="FontSize" Value="20.0" />         
    </Style>
    
    <Style x:Key="{x:Type TextBox}" TargetType="{x:Type TextBox}">
      <Setter Property="FontFamily" Value="Swiss" />
      <Setter Property="Foreground" Value="Black" />         
      <Setter Property="FontSize" Value="20.0" />         
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate>
            <Grid>
              <Rectangle Fill="#FFFF9C00" RadiusX="5.0" RadiusY="5.0" />
              <ScrollViewer HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Disabled" Margin="4, 0, 4, 1" x:Name="PART_ContentHost" />
              <Rectangle RadiusX="5.0" RadiusY="5.0" Fill="{StaticResource GlassHighlight}" /> 
            </Grid>                           
          </ControlTemplate>
        </Setter.Value>
      </Setter>
      <Style.Triggers>
        <EventTrigger RoutedEvent="TextChanged">
          <SoundPlayerAction Source="Typing" />
        </EventTrigger>
      </Style.Triggers>
    </Style>
    
    <Style x:Key="ThumbSlider" TargetType="{x:Type Thumb}">
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type Thumb}">
            <Rectangle MinWidth="10" MinHeight="10" x:Name="ThumbRect" RadiusX="3.0" RadiusY="3.0" Margin="2 0 2 0" Stroke="#FF333333" StrokeThickness="2" Fill="Orange" Stretch="Fill" />
          </ControlTemplate>
        </Setter.Value>
      </Setter>           
    </Style>

    <Style x:Key="ThumbScrollBar" TargetType="{x:Type Thumb}">
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type Thumb}">
            <Grid>
              <Rectangle x:Name="ThumbRect" RadiusX="3.0" RadiusY="3.0" Margin="2 0 2 0" Stroke="#FF333333" StrokeThickness="2" Fill="Orange" Stretch="Fill" />
            </Grid>
          </ControlTemplate>
        </Setter.Value>
      </Setter>           
    </Style>
        
    <Style x:Key="IncButtonScrollBar" TargetType="{x:Type RepeatButton}">
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type RepeatButton}">
            <Rectangle Fill="Transparent" Stretch="Fill" />
          </ControlTemplate>
        </Setter.Value>
      </Setter>           
    </Style>
    
    <Style x:Key="DecButtonScrollBar" TargetType="{x:Type RepeatButton}">
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type RepeatButton}">
            <Rectangle Fill="Transparent" Stretch="Fill" />
          </ControlTemplate>
        </Setter.Value>
      </Setter>              
    </Style>
    
    <Style x:Key="{x:Type ScrollBar}" TargetType="{x:Type ScrollBar}">
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type ScrollBar}">
            <Grid>
              <Rectangle Fill="Black" Stretch="Fill" RadiusX="0" RadiusY="0" StrokeThickness="2" Stroke="#AAFF9900" />
              <Track x:Name="PART_Track"  Minimum="{TemplateBinding Minimum}" Maximum="{TemplateBinding Maximum}" Value="{TemplateBinding Value}" ViewportSize="{TemplateBinding ViewportSize}" 
                     Orientation="{TemplateBinding Orientation}" IsDirectionReversed="true">
                <Track.Thumb><Thumb Style="{StaticResource ThumbScrollBar}" /></Track.Thumb>
                <Track.DecreaseRepeatButton><RepeatButton Style="{StaticResource DecButtonScrollBar}" /></Track.DecreaseRepeatButton>
                <Track.IncreaseRepeatButton><RepeatButton Style="{StaticResource IncButtonScrollBar}" /></Track.IncreaseRepeatButton>
              </Track>
             </Grid>
          </ControlTemplate>
        </Setter.Value>
      </Setter>       
      <Style.Triggers>
        <Trigger Property="Orientation" Value="Horizontal">
            <Setter Property="Template">
              <Setter.Value>
                <ControlTemplate TargetType="{x:Type ScrollBar}">
                  <Grid>
                    <Rectangle Fill="Black" Stretch="Fill" RadiusX="0" RadiusY="0" StrokeThickness="2" Stroke="#AAFF9900" />
                    <Track x:Name="PART_Track" 
                           Minimum="{TemplateBinding Minimum}" Maximum="{TemplateBinding Maximum}" Value="{TemplateBinding Value}" ViewportSize="{TemplateBinding ViewportSize}" 
                           Orientation="{TemplateBinding Orientation}">                           
                      <Track.Thumb><Thumb Style="{StaticResource ThumbScrollBar}" /></Track.Thumb>
                      <Track.DecreaseRepeatButton><RepeatButton Style="{StaticResource DecButtonScrollBar}" /></Track.DecreaseRepeatButton>
                      <Track.IncreaseRepeatButton><RepeatButton Style="{StaticResource IncButtonScrollBar}" /></Track.IncreaseRepeatButton>                      
                    </Track>                           
                    <Rectangle RadiusX="3.0" RadiusY="3.0" Fill="{StaticResource GlassHighlight}" IsHitTestVisible="False" />
                  </Grid>
                </ControlTemplate>               
              </Setter.Value>
            </Setter>
        </Trigger>
      </Style.Triggers>
    </Style>

    <Style x:Key="{x:Type Slider}" TargetType="{x:Type Slider}">
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type Slider}">
            <Grid>
              <Rectangle Fill="Black" Stretch="Fill" RadiusX="0" RadiusY="0" StrokeThickness="2" Stroke="#AAFF9900" />
              <Track x:Name="PART_Track" 
                     Minimum="{TemplateBinding Minimum}" Maximum="{TemplateBinding Maximum}" Value="{TemplateBinding Value}"
                     Orientation="{TemplateBinding Orientation}">
                <Track.Thumb><Thumb Style="{StaticResource ThumbSlider}" /></Track.Thumb>
                <Track.DecreaseRepeatButton><RepeatButton Style="{StaticResource DecButtonScrollBar}" /></Track.DecreaseRepeatButton>
                <Track.IncreaseRepeatButton><RepeatButton Style="{StaticResource IncButtonScrollBar}" /></Track.IncreaseRepeatButton>
              </Track>
             </Grid>
          </ControlTemplate>
        </Setter.Value>
      </Setter>       
      <Style.Triggers>
        <Trigger Property="Orientation" Value="Horizontal">
            <Setter Property="Template">
              <Setter.Value>
                <ControlTemplate TargetType="{x:Type Slider}">
                  <Grid>
                    <Grid.RowDefinitions>
                      <RowDefinition Height="*" />
                      <RowDefinition Height="auto" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                      <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>
                  
                    <Rectangle Height="2" Stretch="Fill" RadiusX="0" RadiusY="0" Fill="#FFFF9900" />
                    <StackPanel Grid.Row="1" Orientation="Horizontal" HorizontalAlignment="Center">
                      <TextBlock Foreground="#FFFF9900" Text="{TemplateBinding Value}" FontSize="20.0" FontFamily="Swiss" HorizontalAlignment="Center" VerticalAlignment="Center" />
                      <TextBlock Foreground="#FFFF9900" Text="/" FontSize="20.0" FontFamily="Swiss" HorizontalAlignment="Center" VerticalAlignment="Center" />
                      <TextBlock Foreground="#FFFF9900" Text="{TemplateBinding Maximum}" FontSize="20.0" FontFamily="Swiss" HorizontalAlignment="Center" VerticalAlignment="Center" />
                    </StackPanel>
                    <Track x:Name="PART_Track" Minimum="{TemplateBinding Minimum}" Maximum="{TemplateBinding Maximum}" Value="{TemplateBinding Value}"
                           Orientation="{TemplateBinding Orientation}">
                      <Track.Thumb><Thumb Style="{StaticResource ThumbSlider}" /></Track.Thumb>
                      <Track.DecreaseRepeatButton><RepeatButton Style="{StaticResource DecButtonScrollBar}" /></Track.DecreaseRepeatButton>
                      <Track.IncreaseRepeatButton><RepeatButton Style="{StaticResource IncButtonScrollBar}" /></Track.IncreaseRepeatButton>                           
                    </Track>                          
                  </Grid>
                </ControlTemplate>               
              </Setter.Value>
            </Setter>
        </Trigger>
      </Style.Triggers>
    </Style>
    
    <LinearGradientBrush x:Key="ProgressBarBrush" StartPoint="0.5, 0.0" EndPoint="0.5, 1.0">
        <LinearGradientBrush.GradientStops>
          <GradientStop Color="#FF333333" Offset="0" />
          <GradientStop Color="#FF555555" Offset="0.25" />
          <GradientStop Color="Black" Offset="0.7" />
        </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>                                  
    
    
    <Style x:Key="{x:Type ProgressBar}" TargetType="{x:Type ProgressBar}">
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type ProgressBar}">
            <Grid x:Name="PART_Track">
              <Rectangle HorizontalAlignment="Left" x:Name="PART_Indicator" Fill="{StaticResource ProgressBarBrush}" />
              <Rectangle Stretch="Fill" RadiusX="4" RadiusY="4" StrokeThickness="2" Stroke="Aqua" />
             </Grid>
          </ControlTemplate>
        </Setter.Value>
      </Setter>       
      <Style.Triggers>
        <Trigger Property="Orientation" Value="Horizontal">
            <Setter Property="Template">
              <Setter.Value>
                <ControlTemplate TargetType="{x:Type ProgressBar}">
                  <Grid>
                    <Rectangle Stretch="Fill" RadiusX="4" RadiusY="4" Fill="#FFFF9C00" />
                    <Grid x:Name="PART_Track" Margin="2, 1, 2, 1">
                      <Rectangle HorizontalAlignment="Left" x:Name="PART_Indicator" Fill="{StaticResource ProgressBarBrush}" />
                    </Grid>
                   <Rectangle Stretch="Fill" RadiusX="4" RadiusY="4" StrokeThickness="2" Stroke="#FFFF9C00" />
                  </Grid>
               
    
                </ControlTemplate>               
              </Setter.Value>
            </Setter>
        </Trigger>
      </Style.Triggers>
    </Style>
    
    
    
    <Style x:Key="{x:Type ScrollViewer}" TargetType="{x:Type ScrollViewer}">
      <Setter Property="KeyboardNavigation.IsTabStop" Value="false" />
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type ScrollViewer}">
            <Grid>
              <Grid.RowDefinitions>
                <RowDefinition Height="*" />
                <RowDefinition Height="auto" />
              </Grid.RowDefinitions>
              <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="auto" />
              </Grid.ColumnDefinitions>
              
              <ScrollContentPresenter x:Name="PART_ScrollContentPresenter" ClipToBounds="true" Grid.Row="0" Grid.Column="0" Content="{TemplateBinding Content}" />
              <ScrollBar x:Name="PART_VerticalScrollBar" Orientation="Vertical" Grid.Row="0" Grid.Column="1" Width="20.0" 
                         Minimum="0" Maximum="{TemplateBinding ScrollableHeight}" Value="{TemplateBinding VerticalOffset}"
                         ViewportSize="{TemplateBinding ViewportHeight}" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" />
    
              <ScrollBar x:Name="PART_HorizontalScrollBar" Orientation="Horizontal" Grid.Row="1" Grid.Column="0" Height="20.0" 
                         Minimum="0" Maximum="{TemplateBinding ScrollableWidth}" Value="{TemplateBinding HorizontalOffset}"
                         ViewportSize="{TemplateBinding ViewportWidth}" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" />
                
            </Grid>
          </ControlTemplate>
        </Setter.Value>
      </Setter>
    </Style>
    
    <Style x:Key="LeftScrollViewer" TargetType="{x:Type ScrollViewer}">
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type ScrollViewer}">
            <Grid>
              <Grid.RowDefinitions>
                <RowDefinition Height="*" />
                <RowDefinition Height="auto" />
              </Grid.RowDefinitions>
              <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto" />
                <ColumnDefinition Width="*" />
              </Grid.ColumnDefinitions>
              
              <ScrollContentPresenter x:Name="PART_ScrollContentPresenter" ClipToBounds="true" Grid.Row="0" Grid.Column="1" Content="{TemplateBinding Content}" />
              <ScrollBar x:Name="PART_VerticalScrollBar" Orientation="Vertical" Grid.Row="0" Grid.Column="0" Width="20.0" 
                         Minimum="0" Maximum="{TemplateBinding ScrollableHeight}" Value="{TemplateBinding VerticalOffset}"
                         ViewportSize="{TemplateBinding ViewportHeight}" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" />
    
              <ScrollBar x:Name="PART_HorizontalScrollBar" Orientation="Horizontal" Grid.Row="1" Grid.Column="1" Height="20.0" 
                         Minimum="0" Maximum="{TemplateBinding ScrollableWidth}" Value="{TemplateBinding HorizontalOffset}"
                         ViewportSize="{TemplateBinding ViewportWidth}" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" />
                
            </Grid>
          </ControlTemplate>
        </Setter.Value>
      </Setter>
    </Style>
    
    <Style x:Key="{x:Type ListBox}" TargetType="{x:Type ListBox}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ListBox}">
                  <Grid x:Name="MainPanel">
                    <Grid.Style>
                      <Style TargetType="{x:Type Grid}">
                        <Setter Property="Opacity" Value="0.5" />
                      </Style>
                    </Grid.Style>
                    <Rectangle x:Name="RectangleBackground" RadiusX="0.0" RadiusY="0.0" StrokeThickness="2" Stroke="#FFFF9C00" Fill="Orange" Opacity="0.2" />
                    <ScrollViewer Margin="0, 2, 2, 2" Style="{StaticResource LeftScrollViewer}" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Visible">
                        <StackPanel x:Name="PART_ItemsHost" />
                    </ScrollViewer>
                  </Grid>
    
                  <ControlTemplate.Triggers>
                    <Trigger Property="IsMouseOver" Value="true">
                      <Trigger.EnterActions>
                        <BeginStoryboard>
                            <Storyboard>
                              <SingleAnimation Storyboard.TargetName="MainPanel" Storyboard.TargetProperty="Opacity" To="1.0" Duration="00:00:00.35" />
                            </Storyboard>
                        </BeginStoryboard>
                      </Trigger.EnterActions>
                      <Trigger.ExitActions>
                        <BeginStoryboard>
                            <Storyboard>
                              <SingleAnimation Storyboard.TargetName="MainPanel" Storyboard.TargetProperty="Opacity" To="0.5" Duration="00:00:00.35" />
                            </Storyboard>
                        </BeginStoryboard>
                      </Trigger.ExitActions>
                    </Trigger>
                  </ControlTemplate.Triggers>
                  
                </ControlTemplate>
            </Setter.Value>
        </Setter>       
    </Style>
    
    <Style x:Key="{x:Type ListBoxItem}" TargetType="{x:Type ListBoxItem}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ListBoxItem}">
                  <Grid>                                                             
                    <TextBlock HorizontalAlignment="Left" FontSize="{TemplateBinding FontSize}" 
                               FontFamily="{TemplateBinding FontFamily}" 
                               Text="{TemplateBinding Text}" 
                               Foreground="{TemplateBinding Foreground}"
                               TextWrapping="Wrap"
                               TextTrimming="None"
                               />
                  </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Key="MultiColumnListSVTemplate" TargetType="{x:Type ScrollViewer}">
        <Grid>
          <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="auto" />
          </Grid.RowDefinitions>
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="auto" />
          </Grid.ColumnDefinitions>
    
          <ScrollViewer Grid.Row="0" Grid.Column="0" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden">
            <Grid>
              <Rectangle Fill="#FFFF9C00" Stretch="Fill" />
              <MultiColumnListHeaderRowPresenter />
            </Grid>
          </ScrollViewer>
    
          <ScrollContentPresenter Grid.Row="1" Grid.Column="0" x:Name="PART_ScrollContentPresenter" ClipToBounds="true" Content="{TemplateBinding Content}" KeyboardNavigation.DirectionalNavigation="Contained" />
    
          <ScrollBar x:Name="PART_VerticalScrollBar" Orientation="Vertical" Grid.Row="0" Grid.Column="1" Grid.RowSpan="2" Width="20.0" 
                     Minimum="0" Maximum="{TemplateBinding ScrollableHeight}" Value="{TemplateBinding VerticalOffset}"
                     ViewportSize="{TemplateBinding ViewportHeight}" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" />
    
          <ScrollBar x:Name="PART_HorizontalScrollBar" Orientation="Horizontal" Grid.Row="2" Grid.Column="0" Height="20.0" 
                     Minimum="0" Maximum="{TemplateBinding ScrollableWidth}" Value="{TemplateBinding HorizontalOffset}"
                     ViewportSize="{TemplateBinding ViewportWidth}" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" />
    
        </Grid>
    </ControlTemplate>
    
    
    <Style x:Key="{x:Type MultiColumnList}" TargetType="{x:Type MultiColumnList}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type MultiColumnList}">
                  <Grid>
                    <Rectangle x:Name="RectangleBackground" RadiusX="0.0" RadiusY="0.0" StrokeThickness="2" Stroke="#FFFF9C00" />
                    <ScrollViewer Margin="2, 0, 1, 1" Template="{StaticResource MultiColumnListSVTemplate}" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">
                        <StackPanel x:Name="PART_ItemsHost" />
                    </ScrollViewer>
                  </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>       
    </Style>
    
    
    <Style x:Key="{x:Type MultiColumnListRow}" TargetType="{x:Type MultiColumnListRow}">
        <Setter Property="Foreground" Value="White" /> 
        
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type MultiColumnList}">
                  <Grid>           
                    <Rectangle x:Name="RectangleBackground" RadiusX="0.0" RadiusY="0.0" StrokeThickness="2">
                      <Rectangle.Style>
                        <Style TargetType="{x:Type Rectangle}">
                            <Setter Property="Fill" Value="Transparent" />
                            <Setter Property="Stroke" Value="Transparent" />
                        </Style>
                      </Rectangle.Style>
                    </Rectangle>
                    <MultiColumnListRowPresenter x:Name="PART_ItemsHost" />
                    <Rectangle RadiusX="3.0" RadiusY="3.0" x:Name="RectangleHighlight" Fill="{StaticResource GlassHighlight}">
                      <Rectangle.Style><Style TargetType="{x:Type Shape}"><Setter Property="Visibility" Value="Hidden" /></Style></Rectangle.Style>
                    </Rectangle>
                  </Grid>
                  <ControlTemplate.Triggers>
                    <Trigger Property="IsMouseOver" Value="true">
                      <Trigger.Setters>
                        <Setter TargetName="RectangleHighlight" Property="Visibility" Value="Visible" />
                      </Trigger.Setters>
                      <Trigger.EnterActions>
                        <BeginStoryboard>
                            <Storyboard>
                              <ColorAnimation Storyboard.TargetName="RectangleBackground" Storyboard.TargetProperty="Fill.Color" To="Blue" Duration="00:00:00.4" />
                              <ColorAnimation Storyboard.TargetName="RectangleBackground" Storyboard.TargetProperty="Stroke.Color" To="LightSteelBlue" Duration="00:00:00.4" />
                            </Storyboard>
                        </BeginStoryboard>
                        <SoundPlayerAction Source="Rollover" />
                      </Trigger.EnterActions>
                      <Trigger.ExitActions>
                        <BeginStoryboard>
                            <Storyboard>
                              <ColorAnimation Storyboard.TargetName="RectangleBackground" Storyboard.TargetProperty="Fill.Color" FillBehavior="Stop" To="Transparent" Duration="00:00:0.8" />
                              <ColorAnimation Storyboard.TargetName="RectangleBackground" Storyboard.TargetProperty="Stroke.Color" FillBehavior="Stop" To="Transparent" Duration="00:00:00.8" />
                            </Storyboard>
                        </BeginStoryboard>
                      </Trigger.ExitActions>
                    </Trigger>
                    <Trigger Property="IsFocused" Value="true">
                      <Trigger.Setters>
                        <Setter TargetName="RectangleHighlight" Property="Visibility" Value="Visible" />
                      </Trigger.Setters>
                      <Trigger.EnterActions>
                        <BeginStoryboard>
                            <Storyboard>
                              <ColorAnimation Storyboard.TargetName="RectangleBackground" Storyboard.TargetProperty="Fill.Color" To="Blue" Duration="00:00:00.4" />
                              <ColorAnimation Storyboard.TargetName="RectangleBackground" Storyboard.TargetProperty="Stroke.Color" To="LightSteelBlue" Duration="00:00:00.4" />
                            </Storyboard>
                        </BeginStoryboard>
                        <SoundPlayerAction Source="Rollover" />
                      </Trigger.EnterActions>
                      <Trigger.ExitActions>
                        <BeginStoryboard>
                            <Storyboard>
                              <ColorAnimation Storyboard.TargetName="RectangleBackground" Storyboard.TargetProperty="Fill.Color" FillBehavior="Stop" To="Transparent" Duration="00:00:0.8" />
                              <ColorAnimation Storyboard.TargetName="RectangleBackground" Storyboard.TargetProperty="Stroke.Color" FillBehavior="Stop" To="Transparent" Duration="00:00:00.8" />
                            </Storyboard>
                        </BeginStoryboard>
                      </Trigger.ExitActions>
                    </Trigger>
                  </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style x:Key="{x:Type MultiColumnListHeader}" TargetType="{x:Type MultiColumnListHeader}">
        <Setter Property="Foreground" Value="Black" />    
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type MultiColumnListHeader}">
                  <Grid>                
                    <Rectangle x:Name="RectangleBackground">
                      <Rectangle.Style>
                        <Style TargetType="{x:Type Rectangle}">
                            <Setter Property="Fill" Value="Transparent" />
                        </Style>
                      </Rectangle.Style>
                    </Rectangle>
                                                 
                    <TextBlock HorizontalAlignment="Left" FontSize="{TemplateBinding FontSize}" 
                               FontFamily="{TemplateBinding FontFamily}" 
                               Text="{TemplateBinding Text}" 
                               Foreground="{TemplateBinding Foreground}"
                               />

                    <Rectangle Fill="{StaticResource GlassHighlight}" /> 

                  </Grid>
                  <ControlTemplate.Triggers>
                  

                    <Trigger Property="IsMouseOver" Value="True">
                      <Trigger.EnterActions>
                        <BeginStoryboard>
                            <Storyboard>
                              <ColorAnimationUsingKeyFrames Duration="00:00:10" Storyboard.TargetProperty="Fill.Color" Storyboard.TargetName="RectangleBackground" AutoReverse="true" RepeatBehavior="Forever">
                                <LinearColorKeyFrame Value="Orange" KeyTime="00:00:00" />
                                <SplineColorKeyFrame Value="White" KeyTime="00:00:04" KeySpline="0.8, 0.0, 0.9, 1.0" />
                                <LinearColorKeyFrame Value="Blue" KeyTime="00:00:06" />
                                <LinearColorKeyFrame Value="Green" KeyTime="00:00:08" />
                                <LinearColorKeyFrame Value="Purple" KeyTime="00:00:10" />
                              </ColorAnimationUsingKeyFrames>                            
                            </Storyboard>
                        </BeginStoryboard>
                      </Trigger.EnterActions>
                      <Trigger.ExitActions>
                        <BeginStoryboard>
                            <Storyboard>
                              <ColorAnimation Storyboard.TargetName="RectangleBackground" Storyboard.TargetProperty="Fill.Color" To="Transparent" Duration="00:00:02" FillBehavior="Stop" />
                            </Storyboard>
                        </BeginStoryboard>
                      </Trigger.ExitActions>
                    </Trigger>
                  </ControlTemplate.Triggers>                  
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>   

    <Style x:Key="{x:Type GridSplitter}" TargetType="{x:Type GridSplitter}">
      <Setter Property="Template">
        <Setter.Value>
          <ControlTemplate TargetType="{x:Type GridSplitter}">
            <Rectangle Fill="Transparent" Stretch="Fill" />
          </ControlTemplate>
        </Setter.Value>
      </Setter>           
    </Style>

</ResourceDictionary>

